package cn.iocoder.yudao.module.shop.controller.admin.shopbrand.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 商户品牌分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ShopBrandPageReqVO extends PageParam {

    @Schema(description = "品牌名称", example = "芋艿")
    private String name;

    @Schema(description = "品牌图片", example = "https://www.iocoder.cn")
    private String picUrl;

    @Schema(description = "品牌排序")
    private Integer sort;

    @Schema(description = "品牌简介")
    private String subject;

    @Schema(description = "品牌描述", example = "你说的对")
    private String description;

    @Schema(description = "状态", example = "01")
    private String status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "适用的spu规则【simple、complex】", example = "simple")
    private String spuUseType;

}